//
//  XJCViewController.m
//  XJCPodTest
//
//  Created by xiaojunchao on 03/23/2020.
//  Copyright (c) 2020 xiaojunchao. All rights reserved.
//

#import "XJCViewController.h"
#import "UIView+Extension.h"

@interface XJCViewController ()

@end

@implementation XJCViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    UIView *redView = [[UIView alloc]initWithFrame:CGRectMake(0, 0, 200, 200)];
    redView.backgroundColor = [UIColor redColor];
    [self.view addSubview:redView];
    
    UIView *blueView = [[UIView alloc]initWithFrame:CGRectMake(redView.right, redView.bottom, 200, 200)];
    blueView.backgroundColor = [UIColor blueColor];
    [self.view addSubview:blueView];
    
    
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
